// 把components中的所组件都进行全局化注册
// 通过插件的方式

import ImageView from './ImageView/index.vue'
import Sku from './TaoxiSku/index.vue'
import FileUpload from './FileUpload/index.vue'
import ImageUpload from './ImageUpload/index.vue'
import taoxiSku from './Sku/index.vue'
import CrowdFundingSku from './CrowdFundingSku/index.vue'


export const componentPlugin = {
  install(app) {
    // app.component('组件名字'，组件配置对象)
    app.component('ImageView', ImageView)
    app.component('TaoxiSku', Sku)
    app.component('FileUpload', FileUpload)
    app.component('ImageUpload', ImageUpload)
    app.component('Sku', taoxiSku)
    app.component('CrowdFundingSku', CrowdFundingSku)
  }
}